<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<script type="text/javascript" src="../vue.js"></script>
	<title></title>
</head>

<body>
	<div id="app">
		<comp></comp>
	</div>

	<script type="module">
		import { comp } from './componetA.js'

		new Vue({

			el: '#app',
			components: {
				comp, //属性的名即为组件名。
			}

		})


	</script>

</body>

</html>